﻿import kliment.events.Event;

/**
 * ...
 * @author Kliment
 */
class kliment.events.MouseGestureEvent extends Event {
	static public var SLIDE_RIGHT:String = 'onSlideRight';
	static public var SLIDE_LEFT:String = 'onSlideLeft';
	static public var SLIDE_DOWN:String = 'onSlideDown';
	static public var SLIDE_UP:String = 'onSlideUp';
	static public var MOVE:String = 'onMove';
	
	private var _distance:Number;
	
	public function MouseGestureEvent(type:String, target:Object, distance:Number) {
		super(type, target);
		_distance = distance;
	}
	
	public function get distance():Number { return _distance; }
	
}